#include <stdio.h>

int main(){
	/**int a[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12};
	int a[3][4] = {
		{1,2,3,4},
		{5,6,7,8},
		{9,10,11,12}
	};**/
	//int a[3][4] = {{1},{5},{9}};
	//int a[3][4] = {0};
	
	//C99 标准
	//	int a[3][4] = {[0][0]=0,[1][1]=1,[2][2]=4};
		int a[][4] = {{1,1,1,1},{2,2,2,2},{3,3,3,3}};

	printf("a的二维数组为:\n");
	int i,j;// i 控制 rows , j 控制列
	for(i=0;i<3;i++)
	{
		for(j=0;j<4;j++)
		{
			printf("%2d ",a[i][j]);
		}
		
		putchar('\n');
	}	

	return 0;
}
